{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 166,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import csv,os"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 167,
   "metadata": {},
   "outputs": [],
   "source": [
    "df = pd.read_csv('ad_fertility.csv',encoding = 'utf8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 168,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>2007</th>\n",
       "      <th>2008</th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>阿鲁巴</td>\n",
       "      <td>33.862000</td>\n",
       "      <td>32.792000</td>\n",
       "      <td>31.722000</td>\n",
       "      <td>30.652000</td>\n",
       "      <td>29.582000</td>\n",
       "      <td>28.512000</td>\n",
       "      <td>27.344400</td>\n",
       "      <td>26.176800</td>\n",
       "      <td>25.009200</td>\n",
       "      <td>23.841600</td>\n",
       "      <td>22.674000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>阿富汗</td>\n",
       "      <td>133.092000</td>\n",
       "      <td>126.633000</td>\n",
       "      <td>120.174000</td>\n",
       "      <td>113.715000</td>\n",
       "      <td>107.256000</td>\n",
       "      <td>100.797000</td>\n",
       "      <td>94.429000</td>\n",
       "      <td>88.061000</td>\n",
       "      <td>81.693000</td>\n",
       "      <td>75.325000</td>\n",
       "      <td>68.957000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>安哥拉</td>\n",
       "      <td>181.229000</td>\n",
       "      <td>178.463200</td>\n",
       "      <td>175.697400</td>\n",
       "      <td>172.931600</td>\n",
       "      <td>170.165800</td>\n",
       "      <td>167.400000</td>\n",
       "      <td>164.025200</td>\n",
       "      <td>160.650400</td>\n",
       "      <td>157.275600</td>\n",
       "      <td>153.900800</td>\n",
       "      <td>150.526000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>阿尔巴尼亚</td>\n",
       "      <td>18.457000</td>\n",
       "      <td>18.911600</td>\n",
       "      <td>19.366200</td>\n",
       "      <td>19.820800</td>\n",
       "      <td>20.275400</td>\n",
       "      <td>20.730000</td>\n",
       "      <td>20.512400</td>\n",
       "      <td>20.294800</td>\n",
       "      <td>20.077200</td>\n",
       "      <td>19.859600</td>\n",
       "      <td>19.642000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>安道尔共和国</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>阿拉伯联盟国家</td>\n",
       "      <td>50.519539</td>\n",
       "      <td>50.305287</td>\n",
       "      <td>50.119205</td>\n",
       "      <td>49.966897</td>\n",
       "      <td>49.866891</td>\n",
       "      <td>49.790826</td>\n",
       "      <td>49.344963</td>\n",
       "      <td>48.853665</td>\n",
       "      <td>48.279737</td>\n",
       "      <td>47.505489</td>\n",
       "      <td>46.688851</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>阿拉伯联合酋长国</td>\n",
       "      <td>29.897000</td>\n",
       "      <td>27.271600</td>\n",
       "      <td>24.646200</td>\n",
       "      <td>22.020800</td>\n",
       "      <td>19.395400</td>\n",
       "      <td>16.770000</td>\n",
       "      <td>14.725200</td>\n",
       "      <td>12.680400</td>\n",
       "      <td>10.635600</td>\n",
       "      <td>8.590800</td>\n",
       "      <td>6.546000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>阿根廷</td>\n",
       "      <td>62.938000</td>\n",
       "      <td>63.063800</td>\n",
       "      <td>63.189600</td>\n",
       "      <td>63.315400</td>\n",
       "      <td>63.441200</td>\n",
       "      <td>63.567000</td>\n",
       "      <td>63.410000</td>\n",
       "      <td>63.253000</td>\n",
       "      <td>63.096000</td>\n",
       "      <td>62.939000</td>\n",
       "      <td>62.782000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>亚美尼亚</td>\n",
       "      <td>27.785000</td>\n",
       "      <td>27.196400</td>\n",
       "      <td>26.607800</td>\n",
       "      <td>26.019200</td>\n",
       "      <td>25.430600</td>\n",
       "      <td>24.842000</td>\n",
       "      <td>24.171600</td>\n",
       "      <td>23.501200</td>\n",
       "      <td>22.830800</td>\n",
       "      <td>22.160400</td>\n",
       "      <td>21.490000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>美属萨摩亚</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>安提瓜和巴布达</td>\n",
       "      <td>51.160000</td>\n",
       "      <td>50.328000</td>\n",
       "      <td>49.496000</td>\n",
       "      <td>48.664000</td>\n",
       "      <td>47.832000</td>\n",
       "      <td>47.000000</td>\n",
       "      <td>46.156400</td>\n",
       "      <td>45.312800</td>\n",
       "      <td>44.469200</td>\n",
       "      <td>43.625600</td>\n",
       "      <td>42.782000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>澳大利亚</td>\n",
       "      <td>17.100000</td>\n",
       "      <td>16.140400</td>\n",
       "      <td>15.180800</td>\n",
       "      <td>14.221200</td>\n",
       "      <td>13.261600</td>\n",
       "      <td>12.302000</td>\n",
       "      <td>12.184600</td>\n",
       "      <td>12.067200</td>\n",
       "      <td>11.949800</td>\n",
       "      <td>11.832400</td>\n",
       "      <td>11.715000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>奥地利</td>\n",
       "      <td>11.127000</td>\n",
       "      <td>10.594400</td>\n",
       "      <td>10.061800</td>\n",
       "      <td>9.529200</td>\n",
       "      <td>8.996600</td>\n",
       "      <td>8.464000</td>\n",
       "      <td>8.239200</td>\n",
       "      <td>8.014400</td>\n",
       "      <td>7.789600</td>\n",
       "      <td>7.564800</td>\n",
       "      <td>7.340000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>阿塞拜疆</td>\n",
       "      <td>38.485000</td>\n",
       "      <td>40.636000</td>\n",
       "      <td>42.787000</td>\n",
       "      <td>44.938000</td>\n",
       "      <td>47.089000</td>\n",
       "      <td>49.240000</td>\n",
       "      <td>50.559600</td>\n",
       "      <td>51.879200</td>\n",
       "      <td>53.198800</td>\n",
       "      <td>54.518400</td>\n",
       "      <td>55.838000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>布隆迪</td>\n",
       "      <td>65.178000</td>\n",
       "      <td>64.280400</td>\n",
       "      <td>63.382800</td>\n",
       "      <td>62.485200</td>\n",
       "      <td>61.587600</td>\n",
       "      <td>60.690000</td>\n",
       "      <td>59.670000</td>\n",
       "      <td>58.650000</td>\n",
       "      <td>57.630000</td>\n",
       "      <td>56.610000</td>\n",
       "      <td>55.590000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>比利时</td>\n",
       "      <td>10.030000</td>\n",
       "      <td>9.229800</td>\n",
       "      <td>8.429600</td>\n",
       "      <td>7.629400</td>\n",
       "      <td>6.829200</td>\n",
       "      <td>6.029000</td>\n",
       "      <td>5.753400</td>\n",
       "      <td>5.477800</td>\n",
       "      <td>5.202200</td>\n",
       "      <td>4.926600</td>\n",
       "      <td>4.651000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>贝宁</td>\n",
       "      <td>108.679000</td>\n",
       "      <td>106.216200</td>\n",
       "      <td>103.753400</td>\n",
       "      <td>101.290600</td>\n",
       "      <td>98.827800</td>\n",
       "      <td>96.365000</td>\n",
       "      <td>94.311200</td>\n",
       "      <td>92.257400</td>\n",
       "      <td>90.203600</td>\n",
       "      <td>88.149800</td>\n",
       "      <td>86.096000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>布基纳法索</td>\n",
       "      <td>129.651000</td>\n",
       "      <td>126.802400</td>\n",
       "      <td>123.953800</td>\n",
       "      <td>121.105200</td>\n",
       "      <td>118.256600</td>\n",
       "      <td>115.408000</td>\n",
       "      <td>113.192200</td>\n",
       "      <td>110.976400</td>\n",
       "      <td>108.760600</td>\n",
       "      <td>106.544800</td>\n",
       "      <td>104.329000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>孟加拉国</td>\n",
       "      <td>94.101000</td>\n",
       "      <td>93.001800</td>\n",
       "      <td>91.902600</td>\n",
       "      <td>90.803400</td>\n",
       "      <td>89.704200</td>\n",
       "      <td>88.605000</td>\n",
       "      <td>87.476400</td>\n",
       "      <td>86.347800</td>\n",
       "      <td>85.219200</td>\n",
       "      <td>84.090600</td>\n",
       "      <td>82.962000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>保加利亚</td>\n",
       "      <td>46.208000</td>\n",
       "      <td>45.717600</td>\n",
       "      <td>45.227200</td>\n",
       "      <td>44.736800</td>\n",
       "      <td>44.246400</td>\n",
       "      <td>43.756000</td>\n",
       "      <td>42.976800</td>\n",
       "      <td>42.197600</td>\n",
       "      <td>41.418400</td>\n",
       "      <td>40.639200</td>\n",
       "      <td>39.860000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>巴林</td>\n",
       "      <td>14.787000</td>\n",
       "      <td>14.628200</td>\n",
       "      <td>14.469400</td>\n",
       "      <td>14.310600</td>\n",
       "      <td>14.151800</td>\n",
       "      <td>13.993000</td>\n",
       "      <td>13.868000</td>\n",
       "      <td>13.743000</td>\n",
       "      <td>13.618000</td>\n",
       "      <td>13.493000</td>\n",
       "      <td>13.368000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>巴哈马</td>\n",
       "      <td>39.464000</td>\n",
       "      <td>38.130600</td>\n",
       "      <td>36.797200</td>\n",
       "      <td>35.463800</td>\n",
       "      <td>34.130400</td>\n",
       "      <td>32.797000</td>\n",
       "      <td>32.237800</td>\n",
       "      <td>31.678600</td>\n",
       "      <td>31.119400</td>\n",
       "      <td>30.560200</td>\n",
       "      <td>30.001000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>波斯尼亚和黑塞哥维那</td>\n",
       "      <td>16.190000</td>\n",
       "      <td>15.363400</td>\n",
       "      <td>14.536800</td>\n",
       "      <td>13.710200</td>\n",
       "      <td>12.883600</td>\n",
       "      <td>12.057000</td>\n",
       "      <td>11.574000</td>\n",
       "      <td>11.091000</td>\n",
       "      <td>10.608000</td>\n",
       "      <td>10.125000</td>\n",
       "      <td>9.642000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>白俄罗斯</td>\n",
       "      <td>22.315000</td>\n",
       "      <td>22.126600</td>\n",
       "      <td>21.938200</td>\n",
       "      <td>21.749800</td>\n",
       "      <td>21.561400</td>\n",
       "      <td>21.373000</td>\n",
       "      <td>19.999800</td>\n",
       "      <td>18.626600</td>\n",
       "      <td>17.253400</td>\n",
       "      <td>15.880200</td>\n",
       "      <td>14.507000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>伯利兹</td>\n",
       "      <td>78.656000</td>\n",
       "      <td>77.460600</td>\n",
       "      <td>76.265200</td>\n",
       "      <td>75.069800</td>\n",
       "      <td>73.874400</td>\n",
       "      <td>72.679000</td>\n",
       "      <td>71.840600</td>\n",
       "      <td>71.002200</td>\n",
       "      <td>70.163800</td>\n",
       "      <td>69.325400</td>\n",
       "      <td>68.487000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>百慕大</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>玻利维亚</td>\n",
       "      <td>81.926000</td>\n",
       "      <td>80.118600</td>\n",
       "      <td>78.311200</td>\n",
       "      <td>76.503800</td>\n",
       "      <td>74.696400</td>\n",
       "      <td>72.889000</td>\n",
       "      <td>71.291200</td>\n",
       "      <td>69.693400</td>\n",
       "      <td>68.095600</td>\n",
       "      <td>66.497800</td>\n",
       "      <td>64.900000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>巴西</td>\n",
       "      <td>71.152000</td>\n",
       "      <td>69.732200</td>\n",
       "      <td>68.312400</td>\n",
       "      <td>66.892600</td>\n",
       "      <td>65.472800</td>\n",
       "      <td>64.053000</td>\n",
       "      <td>63.064600</td>\n",
       "      <td>62.076200</td>\n",
       "      <td>61.087800</td>\n",
       "      <td>60.099400</td>\n",
       "      <td>59.111000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>巴巴多斯</td>\n",
       "      <td>47.330000</td>\n",
       "      <td>46.405800</td>\n",
       "      <td>45.481600</td>\n",
       "      <td>44.557400</td>\n",
       "      <td>43.633200</td>\n",
       "      <td>42.709000</td>\n",
       "      <td>40.877200</td>\n",
       "      <td>39.045400</td>\n",
       "      <td>37.213600</td>\n",
       "      <td>35.381800</td>\n",
       "      <td>33.550000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>文莱达鲁萨兰国</td>\n",
       "      <td>18.057000</td>\n",
       "      <td>17.333800</td>\n",
       "      <td>16.610600</td>\n",
       "      <td>15.887400</td>\n",
       "      <td>15.164200</td>\n",
       "      <td>14.441000</td>\n",
       "      <td>13.607200</td>\n",
       "      <td>12.773400</td>\n",
       "      <td>11.939600</td>\n",
       "      <td>11.105800</td>\n",
       "      <td>10.272000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>拉丁美洲与加勒比海地区 (IBRD与IDA)</td>\n",
       "      <td>74.247310</td>\n",
       "      <td>73.110080</td>\n",
       "      <td>71.971690</td>\n",
       "      <td>70.832502</td>\n",
       "      <td>69.683648</td>\n",
       "      <td>68.531037</td>\n",
       "      <td>67.511428</td>\n",
       "      <td>66.491085</td>\n",
       "      <td>65.468468</td>\n",
       "      <td>64.413533</td>\n",
       "      <td>63.367187</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>东帝汶</td>\n",
       "      <td>53.413000</td>\n",
       "      <td>50.500600</td>\n",
       "      <td>47.588200</td>\n",
       "      <td>44.675800</td>\n",
       "      <td>41.763400</td>\n",
       "      <td>38.851000</td>\n",
       "      <td>37.837800</td>\n",
       "      <td>36.824600</td>\n",
       "      <td>35.811400</td>\n",
       "      <td>34.798200</td>\n",
       "      <td>33.785000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>中东与北非地区 (IBRD与IDA)</td>\n",
       "      <td>40.465900</td>\n",
       "      <td>41.121845</td>\n",
       "      <td>41.792698</td>\n",
       "      <td>42.491177</td>\n",
       "      <td>43.246737</td>\n",
       "      <td>44.021652</td>\n",
       "      <td>44.116300</td>\n",
       "      <td>44.141192</td>\n",
       "      <td>44.079703</td>\n",
       "      <td>43.940974</td>\n",
       "      <td>43.754576</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>汤加</td>\n",
       "      <td>18.985000</td>\n",
       "      <td>18.508400</td>\n",
       "      <td>18.031800</td>\n",
       "      <td>17.555200</td>\n",
       "      <td>17.078600</td>\n",
       "      <td>16.602000</td>\n",
       "      <td>16.214000</td>\n",
       "      <td>15.826000</td>\n",
       "      <td>15.438000</td>\n",
       "      <td>15.050000</td>\n",
       "      <td>14.662000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>南亚 (IBRD与IDA)</td>\n",
       "      <td>51.455525</td>\n",
       "      <td>48.716808</td>\n",
       "      <td>46.001520</td>\n",
       "      <td>43.310453</td>\n",
       "      <td>40.659584</td>\n",
       "      <td>38.007895</td>\n",
       "      <td>35.571502</td>\n",
       "      <td>33.114499</td>\n",
       "      <td>30.634980</td>\n",
       "      <td>28.117495</td>\n",
       "      <td>25.584972</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>撒哈拉以南非洲地区 (IBRD与IDA)</td>\n",
       "      <td>119.857205</td>\n",
       "      <td>118.325325</td>\n",
       "      <td>116.766503</td>\n",
       "      <td>115.176701</td>\n",
       "      <td>113.552414</td>\n",
       "      <td>111.908141</td>\n",
       "      <td>110.049607</td>\n",
       "      <td>108.206224</td>\n",
       "      <td>106.385944</td>\n",
       "      <td>104.575840</td>\n",
       "      <td>102.788585</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>特立尼达和多巴哥</td>\n",
       "      <td>38.088000</td>\n",
       "      <td>37.431400</td>\n",
       "      <td>36.774800</td>\n",
       "      <td>36.118200</td>\n",
       "      <td>35.461600</td>\n",
       "      <td>34.805000</td>\n",
       "      <td>33.862000</td>\n",
       "      <td>32.919000</td>\n",
       "      <td>31.976000</td>\n",
       "      <td>31.033000</td>\n",
       "      <td>30.090000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>突尼斯</td>\n",
       "      <td>6.432000</td>\n",
       "      <td>6.663600</td>\n",
       "      <td>6.895200</td>\n",
       "      <td>7.126800</td>\n",
       "      <td>7.358400</td>\n",
       "      <td>7.590000</td>\n",
       "      <td>7.640200</td>\n",
       "      <td>7.690400</td>\n",
       "      <td>7.740600</td>\n",
       "      <td>7.790800</td>\n",
       "      <td>7.841000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>土耳其</td>\n",
       "      <td>38.514000</td>\n",
       "      <td>37.059800</td>\n",
       "      <td>35.605600</td>\n",
       "      <td>34.151400</td>\n",
       "      <td>32.697200</td>\n",
       "      <td>31.243000</td>\n",
       "      <td>30.306200</td>\n",
       "      <td>29.369400</td>\n",
       "      <td>28.432600</td>\n",
       "      <td>27.495800</td>\n",
       "      <td>26.559000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td>图瓦卢</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>坦桑尼亚</td>\n",
       "      <td>133.450000</td>\n",
       "      <td>131.392000</td>\n",
       "      <td>129.334000</td>\n",
       "      <td>127.276000</td>\n",
       "      <td>125.218000</td>\n",
       "      <td>123.160000</td>\n",
       "      <td>122.205000</td>\n",
       "      <td>121.250000</td>\n",
       "      <td>120.295000</td>\n",
       "      <td>119.340000</td>\n",
       "      <td>118.385000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>乌干达</td>\n",
       "      <td>150.734000</td>\n",
       "      <td>146.964800</td>\n",
       "      <td>143.195600</td>\n",
       "      <td>139.426400</td>\n",
       "      <td>135.657200</td>\n",
       "      <td>131.888000</td>\n",
       "      <td>129.277600</td>\n",
       "      <td>126.667200</td>\n",
       "      <td>124.056800</td>\n",
       "      <td>121.446400</td>\n",
       "      <td>118.836000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>乌克兰</td>\n",
       "      <td>30.411000</td>\n",
       "      <td>29.919400</td>\n",
       "      <td>29.427800</td>\n",
       "      <td>28.936200</td>\n",
       "      <td>28.444600</td>\n",
       "      <td>27.953000</td>\n",
       "      <td>27.104600</td>\n",
       "      <td>26.256200</td>\n",
       "      <td>25.407800</td>\n",
       "      <td>24.559400</td>\n",
       "      <td>23.711000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>中高等收入国家</td>\n",
       "      <td>28.973522</td>\n",
       "      <td>29.705155</td>\n",
       "      <td>30.475753</td>\n",
       "      <td>31.068812</td>\n",
       "      <td>31.505131</td>\n",
       "      <td>31.710946</td>\n",
       "      <td>31.584812</td>\n",
       "      <td>31.386329</td>\n",
       "      <td>31.196884</td>\n",
       "      <td>30.976814</td>\n",
       "      <td>30.725634</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>乌拉圭</td>\n",
       "      <td>61.103000</td>\n",
       "      <td>61.013000</td>\n",
       "      <td>60.923000</td>\n",
       "      <td>60.833000</td>\n",
       "      <td>60.743000</td>\n",
       "      <td>60.653000</td>\n",
       "      <td>60.267800</td>\n",
       "      <td>59.882600</td>\n",
       "      <td>59.497400</td>\n",
       "      <td>59.112200</td>\n",
       "      <td>58.727000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>美国</td>\n",
       "      <td>39.581000</td>\n",
       "      <td>37.252200</td>\n",
       "      <td>34.923400</td>\n",
       "      <td>32.594600</td>\n",
       "      <td>30.265800</td>\n",
       "      <td>27.937000</td>\n",
       "      <td>26.321600</td>\n",
       "      <td>24.706200</td>\n",
       "      <td>23.090800</td>\n",
       "      <td>21.475400</td>\n",
       "      <td>19.860000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>乌兹别克斯坦</td>\n",
       "      <td>18.107000</td>\n",
       "      <td>19.243600</td>\n",
       "      <td>20.380200</td>\n",
       "      <td>21.516800</td>\n",
       "      <td>22.653400</td>\n",
       "      <td>23.790000</td>\n",
       "      <td>23.790000</td>\n",
       "      <td>23.790000</td>\n",
       "      <td>23.790000</td>\n",
       "      <td>23.790000</td>\n",
       "      <td>23.790000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>圣文森特和格林纳丁斯</td>\n",
       "      <td>58.928000</td>\n",
       "      <td>58.044000</td>\n",
       "      <td>57.160000</td>\n",
       "      <td>56.276000</td>\n",
       "      <td>55.392000</td>\n",
       "      <td>54.508000</td>\n",
       "      <td>53.410400</td>\n",
       "      <td>52.312800</td>\n",
       "      <td>51.215200</td>\n",
       "      <td>50.117600</td>\n",
       "      <td>49.020000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>委内瑞拉玻利瓦尔共和国</td>\n",
       "      <td>89.899000</td>\n",
       "      <td>89.483200</td>\n",
       "      <td>89.067400</td>\n",
       "      <td>88.651600</td>\n",
       "      <td>88.235800</td>\n",
       "      <td>87.820000</td>\n",
       "      <td>87.323400</td>\n",
       "      <td>86.826800</td>\n",
       "      <td>86.330200</td>\n",
       "      <td>85.833600</td>\n",
       "      <td>85.337000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>253</th>\n",
       "      <td>英屬維爾京群島</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>美属维京群岛</td>\n",
       "      <td>49.585000</td>\n",
       "      <td>48.817400</td>\n",
       "      <td>48.049800</td>\n",
       "      <td>47.282200</td>\n",
       "      <td>46.514600</td>\n",
       "      <td>45.747000</td>\n",
       "      <td>42.375000</td>\n",
       "      <td>39.003000</td>\n",
       "      <td>35.631000</td>\n",
       "      <td>32.259000</td>\n",
       "      <td>28.887000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>越南</td>\n",
       "      <td>30.796000</td>\n",
       "      <td>31.849000</td>\n",
       "      <td>32.902000</td>\n",
       "      <td>33.955000</td>\n",
       "      <td>35.008000</td>\n",
       "      <td>36.061000</td>\n",
       "      <td>35.034600</td>\n",
       "      <td>34.008200</td>\n",
       "      <td>32.981800</td>\n",
       "      <td>31.955400</td>\n",
       "      <td>30.929000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>瓦努阿图</td>\n",
       "      <td>55.171000</td>\n",
       "      <td>54.645600</td>\n",
       "      <td>54.120200</td>\n",
       "      <td>53.594800</td>\n",
       "      <td>53.069400</td>\n",
       "      <td>52.544000</td>\n",
       "      <td>51.922600</td>\n",
       "      <td>51.301200</td>\n",
       "      <td>50.679800</td>\n",
       "      <td>50.058400</td>\n",
       "      <td>49.437000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>世界</td>\n",
       "      <td>48.554943</td>\n",
       "      <td>48.359590</td>\n",
       "      <td>48.151239</td>\n",
       "      <td>47.806621</td>\n",
       "      <td>47.324775</td>\n",
       "      <td>46.704880</td>\n",
       "      <td>45.916746</td>\n",
       "      <td>45.088384</td>\n",
       "      <td>44.257378</td>\n",
       "      <td>43.361764</td>\n",
       "      <td>42.455699</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>萨摩亚</td>\n",
       "      <td>31.674000</td>\n",
       "      <td>30.989400</td>\n",
       "      <td>30.304800</td>\n",
       "      <td>29.620200</td>\n",
       "      <td>28.935600</td>\n",
       "      <td>28.251000</td>\n",
       "      <td>27.378000</td>\n",
       "      <td>26.505000</td>\n",
       "      <td>25.632000</td>\n",
       "      <td>24.759000</td>\n",
       "      <td>23.886000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>259</th>\n",
       "      <td>科索沃</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>也门共和国</td>\n",
       "      <td>76.600000</td>\n",
       "      <td>74.814400</td>\n",
       "      <td>73.028800</td>\n",
       "      <td>71.243200</td>\n",
       "      <td>69.457600</td>\n",
       "      <td>67.672000</td>\n",
       "      <td>66.208000</td>\n",
       "      <td>64.744000</td>\n",
       "      <td>63.280000</td>\n",
       "      <td>61.816000</td>\n",
       "      <td>60.352000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>南非</td>\n",
       "      <td>67.258000</td>\n",
       "      <td>68.201600</td>\n",
       "      <td>69.145200</td>\n",
       "      <td>70.088800</td>\n",
       "      <td>71.032400</td>\n",
       "      <td>71.976000</td>\n",
       "      <td>71.162400</td>\n",
       "      <td>70.348800</td>\n",
       "      <td>69.535200</td>\n",
       "      <td>68.721600</td>\n",
       "      <td>67.908000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>赞比亚</td>\n",
       "      <td>148.959000</td>\n",
       "      <td>146.506400</td>\n",
       "      <td>144.053800</td>\n",
       "      <td>141.601200</td>\n",
       "      <td>139.148600</td>\n",
       "      <td>136.696000</td>\n",
       "      <td>133.379200</td>\n",
       "      <td>130.062400</td>\n",
       "      <td>126.745600</td>\n",
       "      <td>123.428800</td>\n",
       "      <td>120.112000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>津巴布韦</td>\n",
       "      <td>111.091000</td>\n",
       "      <td>110.641400</td>\n",
       "      <td>110.191800</td>\n",
       "      <td>109.742200</td>\n",
       "      <td>109.292600</td>\n",
       "      <td>108.843000</td>\n",
       "      <td>104.301400</td>\n",
       "      <td>99.759800</td>\n",
       "      <td>95.218200</td>\n",
       "      <td>90.676600</td>\n",
       "      <td>86.135000</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>264 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                    country        2007        2008        2009        2010  \\\n",
       "0                       阿鲁巴   33.862000   32.792000   31.722000   30.652000   \n",
       "1                       阿富汗  133.092000  126.633000  120.174000  113.715000   \n",
       "2                       安哥拉  181.229000  178.463200  175.697400  172.931600   \n",
       "3                     阿尔巴尼亚   18.457000   18.911600   19.366200   19.820800   \n",
       "4                    安道尔共和国         NaN         NaN         NaN         NaN   \n",
       "5                   阿拉伯联盟国家   50.519539   50.305287   50.119205   49.966897   \n",
       "6                  阿拉伯联合酋长国   29.897000   27.271600   24.646200   22.020800   \n",
       "7                       阿根廷   62.938000   63.063800   63.189600   63.315400   \n",
       "8                      亚美尼亚   27.785000   27.196400   26.607800   26.019200   \n",
       "9                     美属萨摩亚         NaN         NaN         NaN         NaN   \n",
       "10                  安提瓜和巴布达   51.160000   50.328000   49.496000   48.664000   \n",
       "11                     澳大利亚   17.100000   16.140400   15.180800   14.221200   \n",
       "12                      奥地利   11.127000   10.594400   10.061800    9.529200   \n",
       "13                     阿塞拜疆   38.485000   40.636000   42.787000   44.938000   \n",
       "14                      布隆迪   65.178000   64.280400   63.382800   62.485200   \n",
       "15                      比利时   10.030000    9.229800    8.429600    7.629400   \n",
       "16                       贝宁  108.679000  106.216200  103.753400  101.290600   \n",
       "17                    布基纳法索  129.651000  126.802400  123.953800  121.105200   \n",
       "18                     孟加拉国   94.101000   93.001800   91.902600   90.803400   \n",
       "19                     保加利亚   46.208000   45.717600   45.227200   44.736800   \n",
       "20                       巴林   14.787000   14.628200   14.469400   14.310600   \n",
       "21                      巴哈马   39.464000   38.130600   36.797200   35.463800   \n",
       "22               波斯尼亚和黑塞哥维那   16.190000   15.363400   14.536800   13.710200   \n",
       "23                     白俄罗斯   22.315000   22.126600   21.938200   21.749800   \n",
       "24                      伯利兹   78.656000   77.460600   76.265200   75.069800   \n",
       "25                      百慕大         NaN         NaN         NaN         NaN   \n",
       "26                     玻利维亚   81.926000   80.118600   78.311200   76.503800   \n",
       "27                       巴西   71.152000   69.732200   68.312400   66.892600   \n",
       "28                     巴巴多斯   47.330000   46.405800   45.481600   44.557400   \n",
       "29                  文莱达鲁萨兰国   18.057000   17.333800   16.610600   15.887400   \n",
       "..                      ...         ...         ...         ...         ...   \n",
       "234  拉丁美洲与加勒比海地区 (IBRD与IDA)   74.247310   73.110080   71.971690   70.832502   \n",
       "235                     东帝汶   53.413000   50.500600   47.588200   44.675800   \n",
       "236      中东与北非地区 (IBRD与IDA)   40.465900   41.121845   41.792698   42.491177   \n",
       "237                      汤加   18.985000   18.508400   18.031800   17.555200   \n",
       "238           南亚 (IBRD与IDA)   51.455525   48.716808   46.001520   43.310453   \n",
       "239    撒哈拉以南非洲地区 (IBRD与IDA)  119.857205  118.325325  116.766503  115.176701   \n",
       "240                特立尼达和多巴哥   38.088000   37.431400   36.774800   36.118200   \n",
       "241                     突尼斯    6.432000    6.663600    6.895200    7.126800   \n",
       "242                     土耳其   38.514000   37.059800   35.605600   34.151400   \n",
       "243                     图瓦卢         NaN         NaN         NaN         NaN   \n",
       "244                    坦桑尼亚  133.450000  131.392000  129.334000  127.276000   \n",
       "245                     乌干达  150.734000  146.964800  143.195600  139.426400   \n",
       "246                     乌克兰   30.411000   29.919400   29.427800   28.936200   \n",
       "247                 中高等收入国家   28.973522   29.705155   30.475753   31.068812   \n",
       "248                     乌拉圭   61.103000   61.013000   60.923000   60.833000   \n",
       "249                      美国   39.581000   37.252200   34.923400   32.594600   \n",
       "250                  乌兹别克斯坦   18.107000   19.243600   20.380200   21.516800   \n",
       "251              圣文森特和格林纳丁斯   58.928000   58.044000   57.160000   56.276000   \n",
       "252             委内瑞拉玻利瓦尔共和国   89.899000   89.483200   89.067400   88.651600   \n",
       "253                 英屬維爾京群島         NaN         NaN         NaN         NaN   \n",
       "254                  美属维京群岛   49.585000   48.817400   48.049800   47.282200   \n",
       "255                      越南   30.796000   31.849000   32.902000   33.955000   \n",
       "256                    瓦努阿图   55.171000   54.645600   54.120200   53.594800   \n",
       "257                      世界   48.554943   48.359590   48.151239   47.806621   \n",
       "258                     萨摩亚   31.674000   30.989400   30.304800   29.620200   \n",
       "259                     科索沃         NaN         NaN         NaN         NaN   \n",
       "260                   也门共和国   76.600000   74.814400   73.028800   71.243200   \n",
       "261                      南非   67.258000   68.201600   69.145200   70.088800   \n",
       "262                     赞比亚  148.959000  146.506400  144.053800  141.601200   \n",
       "263                    津巴布韦  111.091000  110.641400  110.191800  109.742200   \n",
       "\n",
       "           2011        2012        2013        2014        2015        2016  \\\n",
       "0     29.582000   28.512000   27.344400   26.176800   25.009200   23.841600   \n",
       "1    107.256000  100.797000   94.429000   88.061000   81.693000   75.325000   \n",
       "2    170.165800  167.400000  164.025200  160.650400  157.275600  153.900800   \n",
       "3     20.275400   20.730000   20.512400   20.294800   20.077200   19.859600   \n",
       "4           NaN         NaN         NaN         NaN         NaN         NaN   \n",
       "5     49.866891   49.790826   49.344963   48.853665   48.279737   47.505489   \n",
       "6     19.395400   16.770000   14.725200   12.680400   10.635600    8.590800   \n",
       "7     63.441200   63.567000   63.410000   63.253000   63.096000   62.939000   \n",
       "8     25.430600   24.842000   24.171600   23.501200   22.830800   22.160400   \n",
       "9           NaN         NaN         NaN         NaN         NaN         NaN   \n",
       "10    47.832000   47.000000   46.156400   45.312800   44.469200   43.625600   \n",
       "11    13.261600   12.302000   12.184600   12.067200   11.949800   11.832400   \n",
       "12     8.996600    8.464000    8.239200    8.014400    7.789600    7.564800   \n",
       "13    47.089000   49.240000   50.559600   51.879200   53.198800   54.518400   \n",
       "14    61.587600   60.690000   59.670000   58.650000   57.630000   56.610000   \n",
       "15     6.829200    6.029000    5.753400    5.477800    5.202200    4.926600   \n",
       "16    98.827800   96.365000   94.311200   92.257400   90.203600   88.149800   \n",
       "17   118.256600  115.408000  113.192200  110.976400  108.760600  106.544800   \n",
       "18    89.704200   88.605000   87.476400   86.347800   85.219200   84.090600   \n",
       "19    44.246400   43.756000   42.976800   42.197600   41.418400   40.639200   \n",
       "20    14.151800   13.993000   13.868000   13.743000   13.618000   13.493000   \n",
       "21    34.130400   32.797000   32.237800   31.678600   31.119400   30.560200   \n",
       "22    12.883600   12.057000   11.574000   11.091000   10.608000   10.125000   \n",
       "23    21.561400   21.373000   19.999800   18.626600   17.253400   15.880200   \n",
       "24    73.874400   72.679000   71.840600   71.002200   70.163800   69.325400   \n",
       "25          NaN         NaN         NaN         NaN         NaN         NaN   \n",
       "26    74.696400   72.889000   71.291200   69.693400   68.095600   66.497800   \n",
       "27    65.472800   64.053000   63.064600   62.076200   61.087800   60.099400   \n",
       "28    43.633200   42.709000   40.877200   39.045400   37.213600   35.381800   \n",
       "29    15.164200   14.441000   13.607200   12.773400   11.939600   11.105800   \n",
       "..          ...         ...         ...         ...         ...         ...   \n",
       "234   69.683648   68.531037   67.511428   66.491085   65.468468   64.413533   \n",
       "235   41.763400   38.851000   37.837800   36.824600   35.811400   34.798200   \n",
       "236   43.246737   44.021652   44.116300   44.141192   44.079703   43.940974   \n",
       "237   17.078600   16.602000   16.214000   15.826000   15.438000   15.050000   \n",
       "238   40.659584   38.007895   35.571502   33.114499   30.634980   28.117495   \n",
       "239  113.552414  111.908141  110.049607  108.206224  106.385944  104.575840   \n",
       "240   35.461600   34.805000   33.862000   32.919000   31.976000   31.033000   \n",
       "241    7.358400    7.590000    7.640200    7.690400    7.740600    7.790800   \n",
       "242   32.697200   31.243000   30.306200   29.369400   28.432600   27.495800   \n",
       "243         NaN         NaN         NaN         NaN         NaN         NaN   \n",
       "244  125.218000  123.160000  122.205000  121.250000  120.295000  119.340000   \n",
       "245  135.657200  131.888000  129.277600  126.667200  124.056800  121.446400   \n",
       "246   28.444600   27.953000   27.104600   26.256200   25.407800   24.559400   \n",
       "247   31.505131   31.710946   31.584812   31.386329   31.196884   30.976814   \n",
       "248   60.743000   60.653000   60.267800   59.882600   59.497400   59.112200   \n",
       "249   30.265800   27.937000   26.321600   24.706200   23.090800   21.475400   \n",
       "250   22.653400   23.790000   23.790000   23.790000   23.790000   23.790000   \n",
       "251   55.392000   54.508000   53.410400   52.312800   51.215200   50.117600   \n",
       "252   88.235800   87.820000   87.323400   86.826800   86.330200   85.833600   \n",
       "253         NaN         NaN         NaN         NaN         NaN         NaN   \n",
       "254   46.514600   45.747000   42.375000   39.003000   35.631000   32.259000   \n",
       "255   35.008000   36.061000   35.034600   34.008200   32.981800   31.955400   \n",
       "256   53.069400   52.544000   51.922600   51.301200   50.679800   50.058400   \n",
       "257   47.324775   46.704880   45.916746   45.088384   44.257378   43.361764   \n",
       "258   28.935600   28.251000   27.378000   26.505000   25.632000   24.759000   \n",
       "259         NaN         NaN         NaN         NaN         NaN         NaN   \n",
       "260   69.457600   67.672000   66.208000   64.744000   63.280000   61.816000   \n",
       "261   71.032400   71.976000   71.162400   70.348800   69.535200   68.721600   \n",
       "262  139.148600  136.696000  133.379200  130.062400  126.745600  123.428800   \n",
       "263  109.292600  108.843000  104.301400   99.759800   95.218200   90.676600   \n",
       "\n",
       "           2017  \n",
       "0     22.674000  \n",
       "1     68.957000  \n",
       "2    150.526000  \n",
       "3     19.642000  \n",
       "4           NaN  \n",
       "5     46.688851  \n",
       "6      6.546000  \n",
       "7     62.782000  \n",
       "8     21.490000  \n",
       "9           NaN  \n",
       "10    42.782000  \n",
       "11    11.715000  \n",
       "12     7.340000  \n",
       "13    55.838000  \n",
       "14    55.590000  \n",
       "15     4.651000  \n",
       "16    86.096000  \n",
       "17   104.329000  \n",
       "18    82.962000  \n",
       "19    39.860000  \n",
       "20    13.368000  \n",
       "21    30.001000  \n",
       "22     9.642000  \n",
       "23    14.507000  \n",
       "24    68.487000  \n",
       "25          NaN  \n",
       "26    64.900000  \n",
       "27    59.111000  \n",
       "28    33.550000  \n",
       "29    10.272000  \n",
       "..          ...  \n",
       "234   63.367187  \n",
       "235   33.785000  \n",
       "236   43.754576  \n",
       "237   14.662000  \n",
       "238   25.584972  \n",
       "239  102.788585  \n",
       "240   30.090000  \n",
       "241    7.841000  \n",
       "242   26.559000  \n",
       "243         NaN  \n",
       "244  118.385000  \n",
       "245  118.836000  \n",
       "246   23.711000  \n",
       "247   30.725634  \n",
       "248   58.727000  \n",
       "249   19.860000  \n",
       "250   23.790000  \n",
       "251   49.020000  \n",
       "252   85.337000  \n",
       "253         NaN  \n",
       "254   28.887000  \n",
       "255   30.929000  \n",
       "256   49.437000  \n",
       "257   42.455699  \n",
       "258   23.886000  \n",
       "259         NaN  \n",
       "260   60.352000  \n",
       "261   67.908000  \n",
       "262  120.112000  \n",
       "263   86.135000  \n",
       "\n",
       "[264 rows x 12 columns]"
      ]
     },
     "execution_count": 168,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 169,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['阿鲁巴', '阿富汗', '安哥拉', '阿尔巴尼亚', '安道尔共和国', '阿拉伯联盟国家', '阿拉伯联合酋长国', '阿根廷', '亚美尼亚', '美属萨摩亚', '安提瓜和巴布达', '澳大利亚', '奥地利', '阿塞拜疆', '布隆迪', '比利时', '贝宁', '布基纳法索', '孟加拉国', '保加利亚', '巴林', '巴哈马', '波斯尼亚和黑塞哥维那', '白俄罗斯', '伯利兹', '百慕大', '玻利维亚', '巴西', '巴巴多斯', '文莱达鲁萨兰国', '不丹', '博茨瓦纳', '中非共和国', '加拿大', '中歐和波羅的海', '瑞士', '海峡群岛', '智利', '中国', '科特迪瓦', '喀麦隆', '刚果（金）', '刚果（布）', '哥伦比亚', '科摩罗', '佛得角', '哥斯达黎加', '加勒比小国', '古巴', '库拉索', '开曼群岛', '塞浦路斯', '捷克共和国', '德国', '吉布提', '多米尼克', '丹麦', '多米尼加共和国', '阿尔及利亚', '东亚与太平洋地区（不包括高收入）', '早人口紅利', '东亚与太平洋地区', '欧洲与中亚地区（不包括高收入）', '欧洲与中亚地区', '厄瓜多尔', '阿拉伯埃及共和国', '欧洲货币联盟', '厄立特里亚', '西班牙', '爱沙尼亚', '埃塞俄比亚', '欧洲联盟', '脆弱和受衝突影響的情況下', '芬兰', '斐济', '法国', '法罗群岛', '密克罗尼西亚联邦', '加蓬', '英国', '格鲁吉亚', '加纳', '直布罗陀', '几内亚', '冈比亚', '几内亚比绍共和国', '赤道几内亚', '希腊', '格林纳达', '格陵兰', '危地马拉', '关岛', '圭亚那', '高收入国家', '中国香港特别行政区', '洪都拉斯', '重债穷国 (HIPC)', '克罗地亚', '海地', '匈牙利', '只有IBRD', 'IBRD与IDA', 'IDA總', 'IDA混合', '印度尼西亚', '只有IDA', '马恩岛', '印度', '未分类国家', '爱尔兰', '伊朗伊斯兰共和国', '伊拉克', '冰岛', '以色列', '意大利', '牙买加', '约旦', '日本', '哈萨克斯坦', '肯尼亚', '吉尔吉斯斯坦', '柬埔寨', '基里巴斯', '圣基茨和尼维斯', '大韩民国', '科威特', '拉丁美洲与加勒比海地区（不包括高收入）', '老挝', '黎巴嫩', '利比里亚', '利比亚', '圣卢西亚', '拉丁美洲与加勒比海地区', '最不发达国家：联合国分类', '低收入国家', '列支敦士登', '斯里兰卡', '中低等收入国家', '中低收入国家', '莱索托', '後期人口紅利', '立陶宛', '卢森堡', '拉脱维亚', '中国澳门特别行政区', '圣马丁（法属）', '摩洛哥', '摩纳哥', '摩尔多瓦', '马达加斯加', '马尔代夫', '中东与北非地区', '墨西哥', '马绍尔群岛', '中等收入国家', '北马其顿', '马里', '马耳他', '缅甸', '中东与北非地区（不包括高收入）', '黑山', '蒙古', '北马里亚纳群岛', '莫桑比克', '毛里塔尼亚', '毛里求斯', '马拉维', '马来西亚', '北美', '纳米比亚', '新喀里多尼亚', '尼日尔', '尼日利亚', '尼加拉瓜', '荷兰', '挪威', '尼泊尔', '瑙魯', '新西兰', '经合组织成员', '阿曼', '其他小国', '巴基斯坦', '巴拿马', '秘鲁', '菲律宾', '帕劳', '巴布亚新几内亚', '波兰', '預人口紅利', '波多黎各', '朝鲜民主主义人民共和国', '葡萄牙', '巴拉圭', '约旦河西岸和加沙', '太平洋岛国', '人口紅利之後', '法属波利尼西亚', '卡塔尔', '罗马尼亚', '俄罗斯联邦', '卢旺达', '南亚', '沙特阿拉伯', '苏丹', '塞内加尔', '新加坡', '所罗门群岛', '塞拉利昂', '萨尔瓦多', '圣马力诺', '索马里', '塞尔维亚', '撒哈拉以南非洲地区（不包括高收入）', '南苏丹', '撒哈拉以南非洲地区', '小国', '圣多美和普林西比', '苏里南', '斯洛伐克共和国', '斯洛文尼亚', '瑞典', '斯威士兰', '圣马丁(荷属)', '塞舌尔', '阿拉伯叙利亚共和国', '特克斯科斯群岛', '乍得', '东亚与太平洋地区 (IBRD与IDA)', '欧洲与中亚地区 (IBRD与IDA)', '多哥', '泰国', '塔吉克斯坦', '土库曼斯坦', '拉丁美洲与加勒比海地区 (IBRD与IDA)', '东帝汶', '中东与北非地区 (IBRD与IDA)', '汤加', '南亚 (IBRD与IDA)', '撒哈拉以南非洲地区 (IBRD与IDA)', '特立尼达和多巴哥', '突尼斯', '土耳其', '图瓦卢', '坦桑尼亚', '乌干达', '乌克兰', '中高等收入国家', '乌拉圭', '美国', '乌兹别克斯坦', '圣文森特和格林纳丁斯', '委内瑞拉玻利瓦尔共和国', '英屬維爾京群島', '美属维京群岛', '越南', '瓦努阿图', '世界', '萨摩亚', '科索沃', '也门共和国', '南非', '赞比亚', '津巴布韦']\n"
     ]
    }
   ],
   "source": [
    "df1=print(list(df.country))\n",
    "df1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 170,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[('阿鲁巴', 33.861999999999995), ('阿富汗', 133.092), ('安哥拉', 181.229), ('阿尔巴尼亚', 18.457), ('安道尔共和国', nan), ('阿拉伯联盟国家', 50.51953947), ('阿拉伯联合酋长国', 29.897), ('阿根廷', 62.938), ('亚美尼亚', 27.785), ('美属萨摩亚', nan), ('安提瓜和巴布达', 51.16), ('澳大利亚', 17.1), ('奥地利', 11.127), ('阿塞拜疆', 38.485), ('布隆迪', 65.178), ('比利时', 10.03), ('贝宁', 108.679), ('布基纳法索', 129.651), ('孟加拉国', 94.101), ('保加利亚', 46.208), ('巴林', 14.787), ('巴哈马', 39.464), ('波斯尼亚和黑塞哥维那', 16.19), ('白俄罗斯', 22.315), ('伯利兹', 78.656), ('百慕大', nan), ('玻利维亚', 81.926), ('巴西', 71.152), ('巴巴多斯', 47.33), ('文莱达鲁萨兰国', 18.057000000000002), ('不丹', 47.894), ('博茨瓦纳', 48.66), ('中非共和国', 143.895), ('加拿大', 13.677), ('中歐和波羅的海', 23.41554772), ('瑞士', 4.499), ('海峡群岛', 10.919), ('智利', 55.06399999999999), ('中国', 7.29), ('科特迪瓦', 131.954), ('喀麦隆', 131.775), ('刚果（金）', 130.77), ('刚果（布）', 120.57600000000001), ('哥伦比亚', 82.14399999999999), ('科摩罗', 79.517), ('佛得角', 88.568), ('哥斯达黎加', 63.57), ('加勒比小国', 65.51471982), ('古巴', 47.537), ('库拉索', 37.16), ('开曼群岛', nan), ('塞浦路斯', 6.435), ('捷克共和国', 11.117), ('德国', 9.771), ('吉布提', 25.311999999999998), ('多米尼克', nan), ('丹麦', 5.869), ('多米尼加共和国', 104.63), ('阿尔及利亚', 9.687000000000001), ('东亚与太平洋地区（不包括高收入）', 19.13468774), ('早人口紅利', 52.92592428), ('东亚与太平洋地区', 18.22276204), ('欧洲与中亚地区（不包括高收入）', 31.12927909), ('欧洲与中亚地区', 22.52968054), ('厄瓜多尔', 83.588), ('阿拉伯埃及共和国', 49.352), ('欧洲货币联盟', 9.774632675), ('厄立特里亚', 76.079), ('西班牙', 12.74), ('爱沙尼亚', 22.563000000000002), ('埃塞俄比亚', 86.62299999999999), ('欧洲联盟', 14.73729421), ('脆弱和受衝突影響的情況下', 101.4448806), ('芬兰', 9.231), ('斐济', 45.243), ('法国', 7.247999999999999), ('法罗群岛', nan), ('密克罗尼西亚联邦', 25.426), ('加蓬', 116.777), ('英国', 25.358), ('格鲁吉亚', 50.756), ('加纳', 73.747), ('直布罗陀', nan), ('几内亚', 155.379), ('冈比亚', 103.45), ('几内亚比绍共和国', 120.13), ('赤道几内亚', 174.58900000000003), ('希腊', 11.312999999999999), ('格林纳达', 42.408), ('格陵兰', nan), ('危地马拉', 89.13), ('关岛', 47.14), ('圭亚那', 92.579), ('高收入国家', 21.21004018), ('中国香港特别行政区', 3.005), ('洪都拉斯', 95.206), ('重债穷国 (HIPC)', 122.5775337), ('克罗地亚', 14.578), ('海地', 62.423), ('匈牙利', 19.544), ('只有IBRD', 36.80762167), ('IBRD与IDA', 52.27312401), ('IDA總', 96.87483442), ('IDA混合', 79.6896314), ('印度尼西亚', 51.505), ('只有IDA', 105.65429850000001), ('马恩岛', nan), ('印度', 44.559), ('未分类国家', nan), ('爱尔兰', 16.279), ('伊朗伊斯兰共和国', 31.535), ('伊拉克', 73.848), ('冰岛', 14.3), ('以色列', 14.038), ('意大利', 6.999), ('牙买加', 74.028), ('约旦', 30.613000000000003), ('日本', 5.114), ('哈萨克斯坦', 28.053), ('肯尼亚', 97.09200000000001), ('吉尔吉斯斯坦', 29.746), ('柬埔寨', 46.978), ('基里巴斯', 27.238000000000003), ('圣基茨和尼维斯', nan), ('大韩民国', 1.999), ('科威特', 13.349), ('拉丁美洲与加勒比海地区（不包括高收入）', 74.43096202), ('老挝', 72.039), ('黎巴嫩', 15.048), ('利比里亚', 141.18), ('利比亚', 6.25), ('圣卢西亚', 48.16), ('拉丁美洲与加勒比海地区', 73.67086424), ('最不发达国家：联合国分类', 110.7723404), ('低收入国家', 114.2242771), ('列支敦士登', nan), ('斯里兰卡', 22.289), ('中低等收入国家', 58.52822020000001), ('中低收入国家', 52.26061451), ('莱索托', 86.881), ('後期人口紅利', 20.70323388), ('立陶宛', 18.92), ('卢森堡', 9.626), ('拉脱维亚', 18.159000000000002), ('中国澳门特别行政区', 3.346), ('圣马丁（法属）', nan), ('摩洛哥', 32.713), ('摩纳哥', nan), ('摩尔多瓦', 27.164), ('马达加斯加', 134.274), ('马尔代夫', 15.335), ('中东与北非地区', 38.0170161), ('墨西哥', 70.295), ('马绍尔群岛', nan), ('中等收入国家', 44.80032035), ('北马其顿', 20.697), ('马里', 185.46900000000002), ('马耳他', 18.031), ('缅甸', 33.129), ('中东与北非地区（不包括高收入）', 40.76139856), ('黑山', 18.717), ('蒙古', 19.205), ('北马里亚纳群岛', nan), ('莫桑比克', 170.828), ('毛里塔尼亚', 85.806), ('毛里求斯', 34.87), ('马拉维', 154.528), ('马来西亚', 12.745999999999999), ('北美', 37.19370709), ('纳米比亚', 81.058), ('新喀里多尼亚', 20.894000000000002), ('尼日尔', 209.618), ('尼日利亚', 123.176), ('尼加拉瓜', 102.32799999999999), ('荷兰', 5.294), ('挪威', 8.913), ('尼泊尔', 88.898), ('瑙魯', nan), ('新西兰', 30.101), ('经合组织成员', 29.22218495), ('阿曼', 13.595), ('其他小国', 70.23368599), ('巴基斯坦', 43.583), ('巴拿马', 87.93), ('秘鲁', 71.551), ('菲律宾', 54.582), ('帕劳', nan), ('巴布亚新几内亚', 61.102), ('波兰', 15.940999999999999), ('預人口紅利', 129.8721202), ('波多黎各', 50.602), ('朝鲜民主主义人民共和国', 0.624), ('葡萄牙', 16.236), ('巴拉圭', 78.35), ('约旦河西岸和加沙', 65.827), ('太平洋岛国', 46.13531447), ('人口紅利之後', 21.79014453), ('法属波利尼西亚', 41.482), ('卡塔尔', 15.244000000000002), ('罗马尼亚', 41.632), ('俄罗斯联邦', 29.643), ('卢旺达', 40.42), ('南亚', 51.455525), ('沙特阿拉伯', 12.319), ('苏丹', 110.37), ('塞内加尔', 93.524), ('新加坡', 5.961), ('所罗门群岛', 62.621), ('塞拉利昂', 146.085), ('萨尔瓦多', 82.49600000000001), ('圣马力诺', nan), ('索马里', 127.118), ('塞尔维亚', 22.302), ('撒哈拉以南非洲地区（不包括高收入）', 119.8619061), ('南苏丹', 98.336), ('撒哈拉以南非洲地区', 119.85720520000001), ('小国', 67.82975066), ('圣多美和普林西比', 105.962), ('苏里南', 72.464), ('斯洛伐克共和国', 21.112), ('斯洛文尼亚', 5.166), ('瑞典', 6.0120000000000005), ('斯威士兰', 92.041), ('圣马丁(荷属)', nan), ('塞舌尔', 59.911), ('阿拉伯叙利亚共和国', 51.667), ('特克斯科斯群岛', nan), ('乍得', 196.08), ('东亚与太平洋地区 (IBRD与IDA)', 19.34272066), ('欧洲与中亚地区 (IBRD与IDA)', 29.870022100000003), ('多哥', 92.74), ('泰国', 42.44), ('塔吉克斯坦', 44.602), ('土库曼斯坦', 22.148000000000003), ('拉丁美洲与加勒比海地区 (IBRD与IDA)', 74.2473099), ('东帝汶', 53.413000000000004), ('中东与北非地区 (IBRD与IDA)', 40.46589989), ('汤加', 18.985), ('南亚 (IBRD与IDA)', 51.455525), ('撒哈拉以南非洲地区 (IBRD与IDA)', 119.85720520000001), ('特立尼达和多巴哥', 38.088), ('突尼斯', 6.432), ('土耳其', 38.514), ('图瓦卢', nan), ('坦桑尼亚', 133.45), ('乌干达', 150.734), ('乌克兰', 30.410999999999998), ('中高等收入国家', 28.97352243), ('乌拉圭', 61.103), ('美国', 39.580999999999996), ('乌兹别克斯坦', 18.107), ('圣文森特和格林纳丁斯', 58.928000000000004), ('委内瑞拉玻利瓦尔共和国', 89.899), ('英屬維爾京群島', nan), ('美属维京群岛', 49.585), ('越南', 30.796), ('瓦努阿图', 55.17100000000001), ('世界', 48.55494262), ('萨摩亚', 31.674), ('科索沃', nan), ('也门共和国', 76.6), ('南非', 67.258), ('赞比亚', 148.959), ('津巴布韦', 111.09100000000001)]\n",
      "<class 'list'>\n"
     ]
    }
   ],
   "source": [
    "青少年生育率= list(zip(list(df.country),list(df['2007'])))\n",
    "print(青少年生育率)\n",
    "print(type(青少年生育率))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 175,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pyecharts.charts import Bar,Tab,Line,Map,Timeline,Grid,Scatter\n",
    "from pyecharts import options as opts \n",
    "import pandas as pd "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 195,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'world':'https://assets.pyecharts.org/assets/maps/world'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"7cbc52a60f734013ae9f26082ee3b02b\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'world'], function(echarts) {\n",
       "                var chart_7cbc52a60f734013ae9f26082ee3b02b = echarts.init(\n",
       "                    document.getElementById('7cbc52a60f734013ae9f26082ee3b02b'), 'white', {renderer: 'canvas'});\n",
       "                var option_7cbc52a60f734013ae9f26082ee3b02b = {\n",
       "    \"baseOption\": {\n",
       "        \"series\": [\n",
       "            {\n",
       "                \"type\": \"map\",\n",
       "                \"name\": \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\",\n",
       "                \"label\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"top\",\n",
       "                    \"margin\": 8\n",
       "                },\n",
       "                \"mapType\": \"world\",\n",
       "                \"data\": [\n",
       "                    {\n",
       "                        \"name\": \"China\",\n",
       "                        \"value\": 29\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"Canada\",\n",
       "                        \"value\": 36\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"Brazil\",\n",
       "                        \"value\": 86\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"Russia\",\n",
       "                        \"value\": 108\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"United States\",\n",
       "                        \"value\": 90\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"Africa\",\n",
       "                        \"value\": 126\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"Germany\",\n",
       "                        \"value\": 41\n",
       "                    }\n",
       "                ],\n",
       "                \"roam\": true,\n",
       "                \"zoom\": 1,\n",
       "                \"showLegendSymbol\": false,\n",
       "                \"emphasis\": {}\n",
       "            }\n",
       "        ],\n",
       "        \"timeline\": {\n",
       "            \"axisType\": \"category\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"autoPlay\": false,\n",
       "            \"loop\": true,\n",
       "            \"rewind\": false,\n",
       "            \"show\": true,\n",
       "            \"inverse\": false,\n",
       "            \"bottom\": \"-5px\",\n",
       "            \"data\": [\n",
       "                \"2007\",\n",
       "                \"2008\",\n",
       "                \"2009\",\n",
       "                \"2010\",\n",
       "                \"2011\",\n",
       "                \"2012\",\n",
       "                \"2013\",\n",
       "                \"2014\",\n",
       "                \"2015\",\n",
       "                \"2016\"\n",
       "            ]\n",
       "        },\n",
       "        \"visualMap\": {\n",
       "            \"show\": true,\n",
       "            \"type\": \"continuous\",\n",
       "            \"min\": 0.624,\n",
       "            \"max\": 186.53799999999998,\n",
       "            \"inRange\": {\n",
       "                \"color\": [\n",
       "                    \"#50a3ba\",\n",
       "                    \"#eac763\",\n",
       "                    \"#d94e5d\"\n",
       "                ]\n",
       "            },\n",
       "            \"calculable\": true,\n",
       "            \"splitNumber\": 5,\n",
       "            \"seriesIndex\": 0,\n",
       "            \"orient\": \"vertical\",\n",
       "            \"showLabel\": true\n",
       "        }\n",
       "    },\n",
       "    \"options\": [\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 92\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 29\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 133\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 35\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 26\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 113\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 53\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 146\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 125\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 34\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 53\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 80\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 64\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 117\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 79\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 88\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 81\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 72\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 31\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 88\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 26\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 127\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 97\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 97\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 106\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 35\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 32\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 138\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 137\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 149\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 44\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 119\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 116\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 114\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 120\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 35\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 90\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 44\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 60\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 144\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 55\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 137\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 66\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 140\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 142\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 130\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 24\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 81\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 66\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 26\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 84\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 55\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 73\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 74\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 127\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 47\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 104\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 41\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 120\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 67\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 149\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 148\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 132\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u9752\\u5c11\\u5e74\\u751f\\u80b2\\u7387\": true\n",
       "                    },\n",
       "                    \"show\": true\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"China\",\n",
       "                            \"value\": 29\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Canada\",\n",
       "                            \"value\": 36\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Brazil\",\n",
       "                            \"value\": 86\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Russia\",\n",
       "                            \"value\": 108\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"United States\",\n",
       "                            \"value\": 90\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Africa\",\n",
       "                            \"value\": 126\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"Germany\",\n",
       "                            \"value\": 41\n",
       "                        }\n",
       "                    ]\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"subtextStyle\": {\n",
       "                        \"color\": \"red\",\n",
       "                        \"fontStyle\": \"italic\",\n",
       "                        \"fontSize\": 16\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 0.624,\n",
       "                \"max\": 186.53799999999998,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"splitNumber\": 5,\n",
       "                \"seriesIndex\": 0,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_7cbc52a60f734013ae9f26082ee3b02b.setOption(option_7cbc52a60f734013ae9f26082ee3b02b);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x26fb7dd5f60>"
      ]
     },
     "execution_count": 195,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts.faker import Faker\n",
    "\n",
    "from pyecharts.charts import Map\n",
    "from pyecharts import options as opts\n",
    "from pyecharts.globals import ChartType, SymbolType\n",
    "\n",
    "\n",
    "def timeline_map() -> Timeline:\n",
    "    tl = Timeline()\n",
    "    for i in range(2007, 2017):\n",
    "        map0 = (\n",
    "            Map()\n",
    "            .add(\n",
    "                \"青少年生育率\", [list(z) for z in zip(Faker.country, Faker.values())], \"world\",is_map_symbol_show = False\n",
    "            )\n",
    "            .set_global_opts(\n",
    "                title_opts=opts.TitleOpts(title=\"\".format(i),subtitle=\"\",\n",
    "                                         subtitle_textstyle_opts=opts.TextStyleOpts(color=\"red\",font_size=16,font_style=\"italic\")),\n",
    "                visualmap_opts=opts.VisualMapOpts(min_= df[\"2007\"].min(), max_=df[\"2017\"].max(),series_index=0),\n",
    "            \n",
    "            )\n",
    "        )\n",
    "        tl.add(map0, \"{}\".format(i))\n",
    "    return tl\n",
    "\n",
    "timeline_map().render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
